<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="indexcommon.jsp"%>
<%
    String vaa01 = request.getParameter("vaa01");
			String vaa05 = request.getParameter("vaa05");
			String vac01 = request.getParameter("vac01");
			String bck01 = request.getParameter("bck01");
			//String dataStr = request.getParameter("dataStr");
%>
<!DOCTYPE html>
<input id="vaa01" type="hidden" value="<%=request.getParameter("vaa01")%>" />
<input id="vaa05" type="hidden" value="<%=request.getParameter("vaa05")%>" />
<input id="vac01" type="hidden" value="<%=request.getParameter("vac01")%>" />
<input id="bck01" type="hidden" value="<%=request.getParameter("bck01")%>" />
<input id="dataStr" type="hidden" value='<%=request.getParameter("dataStr")%>' />
<input id="cbm01" type="hidden" value='' />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${ctx}/two/css/neworder.css" />
<%-- <link rel="stylesheet" href="${ctx}/theme/theme_blue/two/neworder.css" id="neworder_two"/> --%>
<link rel="stylesheet" type="text/css" href="${ctx}/css.base/please_shuaka.css" />
<style type="text/css">
	.select-check{
        position:absolute;
        width:200px;
        z-index: 100;
        border:1px solid #d3d3d3;
        background-color: #FFFFFF;
        box-shadow: 0 6px 12px rgba(0,0,0,.175);
        display: none;
    }
        .select-check-group{
            max-height:300px;
            overflow:auto;
        }
        .select-check .list-group-item{
            padding:6px 10px;
            border-radius: 0px !important;
        }
            .select-check .list-group-item:first-child{
                border-top:none;
            }
            .select-check .list-group-item .checkbox{
                margin:0px;
            }
    .select-check-option{
        text-align: center;
    }
        .select-check-option .btn{
            padding:6px 7px;
        }
</style>
<script src="${ctx_num}/js/init.js"></script>
<script src="${ctx_num}/js/jqgrids/houzhenList_jqgrid.js"></script>
<script src="${ctx_num}/js/jqgrids/jiezhenList_jqgrid.js"></script>
<script src="${ctx_num}/js/houzhen.js"></script>
<script src="${ctx_num}/js/jiezhen.js"></script>
<script src="${ctx_num}/js/neworder_xy.js"></script>
<script src="${ctx_num}/js/neworder_zy.js"></script>
<script src="${ctx_num}/js/neworder_jc.js"></script>
<script src="${ctx_num}/js/tanchuL.js"></script>
<script src="${ctx_num}/js/neworder_jy.js"></script>
<script src="${ctx_num}/js/neworder_ss.js"></script>
<script src="${ctx_num}/js/neworder_zl.js"></script>
<script src="${ctx_num}/js/saveAdvice.js"></script>
<script src="${ctx_num}/js/adviceOption.js"></script>
<script src="${ctx_num}/js/saveFangan.js"></script>
<script src="${ctx_num}/js/redis_data.js"></script>
<script src="${ctx_num}/js/emr.js"></script>
<script src="${ctx_num}/js/patient_option.js"></script>
<script src="${ctx_num}/js/neworder.js"></script>
<script src="${ctx_num}/js/histroyAdvice.js"></script>
<script src="${ctx_num}/js/guahao.js"></script>
<!-- mq -->
<script src="${ctx}/lib/avtiveMq/activemq_onehis.js"></script>
<script src="${ctx}/lib/avtiveMq/ajax_Encapsulation.js"></script>
<script src="${ctx}/lib/avtiveMq/amq_jquery_adapter.js"></script>
<script src="${ctx}/lib/avtiveMq/amq.js"></script>
<script src="${ctx}/lib/avtiveMq/credit_card.js"></script>
<script src="${ctx}/lib/avtiveMq/jquery.json-2.2.js"></script>
<script src="${ctx}/lib/avtiveMq/member_card_out.js"></script>
<script src="${ctx}/lib/avtiveMq/print.js"></script>



<title>新开医嘱</title>
</head>
<body>
	<div id="container">
		<div class="three-column">
			<div class="main-header">
				<div class="main-header-content">
					<div class="header-content-left"></div>
					<div class="header-content-right">
						<div class="btn-group" onclick="seeMoreInfoEvent();">
							<a class="btn btn-transparent ">
								<span class="more-info-text">更多</span>
								<span class="caret"></span>
							</a>
						</div>
						<button class="btn btn-main" id="shouye_btn">
							<span class="glyphicon glyphicon-log-in"></span>
							诊断信息
						</button>
						<div class="btn-group">
							<button class="btn btn-yellow" id="handle_admission">
								<span>办理入院</span>
							</button>
							<!-- <button class="btn btn-yellow dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
								<span class="caret"></span>
							</button>
							<ul class="dropdown-menu dropdown-menu-right">
							</ul> -->
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="three-column-conent">
			<div style="position: relative; width: 100%; height: 100%">
				<div class="main-header-nav">
					<ul class="nav nav-underline" role="tablist" id="new_order_list">
						<li class="active">
							<a href="#Houzhen" data-toggle="tab" onclick="typeClick('0')">候诊病人</a>
						</li>
						<li>
							<a href="#Jiezhen" data-toggle="tab" onclick="typeClick('0')">接诊病人</a>
						</li>
						<li>
							<a href="#Emr" data-toggle="tab" onclick="typeClick('-1')">书写病历</a>
						</li>
						<li>
							<a href="#NewAdvice" data-toggle="tab" onclick="typeClick('1')">新开医嘱</a>
						</li>
					</ul>
				</div>
				<!-- Tab panes -->
				<div class="tab-content main-content">
					<!-- 候诊病人 -->
					<div role="tabpanel" class="tab-pane active" id="Houzhen">
						<div class="main-header-search">
							<!-- <div class="main-header-search-left" style="width: 100%; height: 100%;"> -->
								<form class="form-inline">
									<div class="form-group">
										<select id="departmentList" onchange="refreshBck01()"></select>
									</div>
									<button type="button" class="btn btn-main" onclick="refreshBck01()">
										<span class="glyphicon glyphicon-search"></span>
										<span>查询</span>
									</button>
									<button type="button" class="btn btn-main" onclick="guahao()">
										<span class="glyphicon glyphicon-earphone"></span>
										<span> 挂号</span>
									</button>
									<button type="button" class="btn btn-main">
										<span class="glyphicon glyphicon-volume-up"></span>
										<span>呼叫病人</span>
									</button>
									<button type="button" class="btn btn-main" onclick="jiezhen()">
										<span class="glyphicon glyphicon-check"></span>
										<span>接诊</span>
									</button>
									<button type="button" class="btn btn-main" onclick="newCardOut(1)">
										<span class="glyphicon glyphicon-picture"></span>
										刷卡
									</button>
									<!-- <button type="button" class="btn btn-main" onclick="NewSwingCardOut()">
										<span class="glyphicon glyphicon-picture"></span>
										发卡
									</button> -->
								</form>
							<!-- </div> -->
						</div>
						<div class="main-content-table" >
							<div class="main-table-container">
								<table id="honzhenList" class="table-change table table-hover table-striped table-bordered table-border"></table>
								<div id="honzhenList_page"></div>
							</div>
						</div>
						<div class="main-content-page">
							<div class="page-content" id="hz_page"></div>
						</div>
					</div>
					<!-- 接诊病人 -->
					<div role="tabpanel" class="tab-pane" id="Jiezhen">
						<div class="main-header-search">
							<!-- <div class="main-header-search-left" style="width: 100%; height: 100px;"> -->
								<form class="form-inline">
									<div class="form-group">
										<select id="departmentList_jiezhen" onchange="refreshBck01_jiezhen()"></select>
									</div>
									<div class="form-group">
										<label class="label-normal">查询日期：</label>
										<input type="text" id="dl1_jiezhen" class="layer-date laydate-icon" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" />
										&nbsp;
										<input type="text" id="dl2_jiezhen" class="layer-date laydate-icon" onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" />
									</div>
									<button type='button' class="btn btn-main" onclick="refreshJiezhenList()">
										<span class="glyphicon glyphicon-search"></span>
										<span>查询</span>
									</button>
									<button type='button' class="btn btn-main" onclick="patientAdvice()">
										<span class="glyphicon glyphicon-list-alt"></span>
										<span>详情</span>
									</button>
									<button type="button" class="btn btn-main" onclick="zhuanzhen()">
										<span class="glyphicon glyphicon-share"></span>
										<span>转诊</span>
									</button>
								</form>
							<!-- </div> -->
						</div>
						<div class="main-content-table">
							<div class="main-table-container" id="jiezhenList_container">
								<table id="jiezhenList" class="table table-striped table-hover table-change table-bordered table-border"></table>
								<div id="jiezhenList_page"></div>
							</div>
						</div>
						<div class="main-content-page">
							<div class="page-content" id="page"></div>
						</div>
					</div>
					<!-- 病历 -->
					<div role="tabpanel" class="tab-pane" id="Emr">
						<iframe id="shuxiebingli" src="" frameborder='0' allowtransparency='true' height='100%' width='100%'> </iframe>
					</div>
					<!-- 新开 -->
					<div role="tabpanel" class="tab-pane" id="NewAdvice">
						<div class="middle-container">
							<div class="inline left-container" id="controlRightTabDiv">
								<div class="search-control">
									<div class="input-control">
										<div class="form-group">
											<span class="col-sm-1 text-control">
												<button class="btn btn-transparent">
													<span class="glyphicon glyphicon-screenshot"></span>
													<span> &nbsp;&nbsp;临床诊断</span>
												</button>
											</span>
											<div class="col-sm-9">
												<input class="tagsinput" type="text" value="" data-role="tagsinput" id="lczds_select" placeholder="这是诊断内容标签" style="line-height: 20px;" />
											</div>
										</div>
									</div>
								</div>
								<div class="left-title">
									<div class="main-header-nav">
										<ul class="nav nav-underline" role="tablist" id="new_order_list">
											<li>
												<a href="#Jianyan" data-toggle="tab" onclick="typeClick('Jianyan')">检验</a>
											</li>
											<li>
												<a href="#Jiancha" data-toggle="tab" onclick="typeClick('Jiancha')">检查</a>
											</li>
											<li>
												<a href="#Xiyao" data-toggle="tab" onclick="typeClick('Xiyao')">西成药处方</a>
											</li>
											<li>
												<a href="#Zhongyao" data-toggle="tab" onclick="typeClick('Zhongyao')">中草药处方</a>
											</li>
											<li>
												<a href="#Shoushu" data-toggle="tab" onclick="typeClick('Shoushu')">手术</a>
											</li>
											<li>
												<a href="#Zhiliao" data-toggle="tab" onclick="typeClick('Zhiliao')">治疗</a>
											</li>
											<li style="float: right;">
												<button class="btn btn-main" onclick="lishiyizhu()">
													<span class="glyphicon glyphicon-hand-up"></span>
													<span>历史医嘱</span>
												</button>
												<button class="btn btn-main" onclick="lingcunweifanganEvent()">
													<span class="glyphicon glyphicon-floppy-save"></span>
													<span>存为方案</span>
												</button>
											</li>
										</ul>
									</div>
								</div>
								<div class="left-content">
									<div class="tab-content">
										<!--检验内容-->
										<div class="tab-pane " id="Jianyan">
											<div class="button-control">
												<div class="main-content-btnGroup">
													<!-- <button class="btn btn-main" id="jianyan_list">
														<span class="glyphicon glyphicon-list-alt"></span>
														<span>检验申请单</span>
													</button> -->
													<button class="btn btn-main" id="delete_jianyan">
														<span class="glyphicon glyphicon-trash"></span>
														<span>删除行</span>
													</button>
													<button class="btn btn-main" onclick="jy_addTrBtnEvent();">
														<span class="glyphicon glyphicon-plus"></span>
														<span>新增行</span>
													</button>
												</div>
											</div>
											<div class="main_continer">
												<div class="main_content">
													<div class="main-content-table" style="top: 0;bottom:0;">
														<div class="main-table-container" id="jianyan_table">
															<table class="table table-striped table-hover table-border" id="xk_jy_table">
																<thead>
																	<tr>
																		<td></td>
																		<td>组</td>
																		<td style="display: none">
																			<span>*</span>
																			开始时间
																		</td>
																		<td>
																			<span>*</span>
																			医嘱内容
																		</td>
																		<td>
																			<span>*</span>
																			样本类型
																		</td>
																		<td>
																			<span>*</span>
																			频次
																		</td>
																		<td>
																			<span>*</span>
																			总量
																		</td>
																		<td>
																			单位
																		</td>
																		<td>执行科室</td>
																		<!-- <td>给药执行</td> -->
																		<td>医生嘱托</td>
																		<td>执行方案</td>
																		<td>执行性质</td>
																		<td>医嘱备注</td>
																		<td>开嘱科室</td>
																		<td>开嘱医师</td>
																	</tr>
																</thead>
																<tbody id="jianyan_table_tbody">
																</tbody>
															</table>
														</div>
													</div>
													<!-- <div class="last_continer">
														<div class="last-control">
															<div class="main-header-nav">
																<ul class="nav nav-underline">
																	<li class="active">
																		<a href="#long-doctor" data-toggle="tab">历史医嘱</a>
																	</li>
																	<li style="float: right; line-height: 35px;">
																		<button class="btn btn-main hidden" onclick="copyMutAdvice(this)">
																			<span class="glyphicon glyphicon-copyright-mark"></span>
																			<span>批量复制</span>
																		</button>
																		<button class="btn btn-transparent" onclick="seeHistoryAdvice(this)">
																			<span class="glyphicon glyphicon-chevron-up"></span>
																			<span>展开</span>
																		</button>
																	</li>
																</ul>
															</div>
														</div>
														<div class="last-control-table">
															<div class="last-table-container" id="last_container_jy">
																<table id="historyList_jy" class="table-responsive table table-hover table-striped table-bordered"></table>
															</div>
														</div>
													</div> -->
												</div>
											</div>
										</div>
										<!--检查内容-->
										<div class="tab-pane" id="Jiancha">
											<div class="button-control">
												<div class="main-content-btnGroup">
													<button class="btn btn-main" id="delete_jiancha">
														<span class="glyphicon glyphicon-trash"></span>
														<span>删除行</span>
													</button>
													<button class="btn btn-main" onclick="jc_addTrBtnEvent();">
														<span class="glyphicon glyphicon-plus"></span>
														<span>新增行</span>
													</button>
												</div>
											</div>
											<div class="main_continer">
												<div class="main_content">
													<div class="main-content-table" style="top: 0; bottom:0;overflow: hidden">
														<div class="main-table-container">
															<div class="check-table-container" id="jiancha_table">
																<table class="table table-striped table-hover table-border" id="xk_jc_table">
																	<thead>
																		<tr>
																			<td>
																				<input type="checkbox" value="">
																			</td>
																			<td>组</td>
																			<td style="display: none">
																				<span>*</span>
																				开始时间
																			</td>
																			<td>
																				<span>*</span>
																				医嘱内容
																			</td>
																			<td>
																				<span>*</span>
																				频次
																			</td>
																			<td>
																				<span>*</span>
																				用药天数
																			</td>
																			<td>
																				<span>*</span>
																				总量
																			</td>
																			<td>
																				单位
																			</td>
																			<td>执行科室</td>
																			<!-- <td>辅助执行</td> -->
																			<!-- <td>用药目的</td> -->
																			<td>医生嘱托</td>
																			<td>执行方案</td>
																			<td>执行性质</td>
																			<td>医嘱备注</td>
																			<td>开嘱科室</td>
																			<td>开嘱医师</td>
																		</tr>
																	</thead>
																	<tbody id="jiancha_table_tbody">
																	</tbody>
																</table>
															</div>
															<div class="check-input-container">
																<form class="form-horizontal">
																	<div class="col-md-6">
																		<div class="form-group">
																			<span class="col-sm-3 control-label">临床诊断</span>
																			<div class="col-sm-9">
																				<textarea class="form-control e_linchuangzhenduan" rows="3"></textarea>
																			</div>
																		</div>
																		<div class="form-group">
																			<span class="col-sm-3 control-label">
																				病例摘要/
																				<br>
																				体格检查
																			</span>
																			<div class="col-sm-9">
																				<textarea class="form-control e_binglizhaiyao" rows="3"></textarea>
																			</div>
																		</div>
																	</div>
																	<div class="col-md-6">
																		<div class="form-group">
																			<span class="col-sm-3 control-label">辅助检查</span>
																			<div class="col-sm-9">
																				<textarea class="form-control e_fuzhujiancha" rows="3"></textarea>
																			</div>
																		</div>
																		<div class="form-group">
																			<span class="col-sm-3 control-label">检查目的</span>
																			<div class="col-sm-9">
																				<textarea class="form-control e_jianchamudi" rows="3"></textarea>
																			</div>
																		</div>
																	</div>
																</form>
															</div>
														</div>
													</div>
													<!-- <div class="last_continer">
														<div class="last-control">
															<div class="main-header-nav">
																<ul class="nav nav-underline">
																	<li class="active">
																		<a href="#long-doctor" data-toggle="tab">历史医嘱</a>
																	</li>
																	<li style="float: right; line-height: 35px;">
																		<button class="btn btn-main hidden" onclick="copyMutAdvice(this)">
																			<span class="glyphicon glyphicon-copyright-mark"></span>
																			<span>批量复制</span>
																		</button>
																		<button class="btn btn-transparent" onclick="seeHistoryAdvice(this)">
																			<span class="glyphicon glyphicon-chevron-up"></span>
																			<span>展开</span>
																		</button>
																	</li>
																</ul>
															</div>
														</div>
														<div class="last-control-table">
															<div class="last-table-container" id="last_container_jc">
																<table id="historyList_jc" class="table-responsive table table-hover table-striped table-bordered"></table>
															</div>
														</div>
													</div> -->
												</div>
											</div>
										</div>
										<!--西成药处方-->
										<div class="tab-pane active" id="Xiyao">
											<div class="button-control">
												<div class="main-content-btnGroup">
													<button class="btn btn-main" id="same_row_btn">
														<span class="glyphicon glyphicon-indent-right"></span>
														<span>同组</span>
													</button>
													<button class="btn btn-main" id="break_row_btn">
														<span class="glyphicon glyphicon-indent-right"></span>
														<span>拆分</span>
													</button>
													<button class="btn btn-main" id="delete_west_medicine">
														<span class="glyphicon glyphicon-trash"></span>
														<span>删除行</span>
													</button>
													<button class="btn btn-main" onclick="xy_addTrBtnEvent();">
														<span class="glyphicon glyphicon-plus"></span>
														<span>新增行</span>
													</button>
												</div>
											</div>
											<div class="main_continer">
												<div class="main_content">
													<div class="main-content-table" style="top: 0;bottom:0;">
														<div class="main-table-container" id="west_medicine">
															<table class="table table-striped table-hover table-border" id="west_medicine_table">
																<thead>
																	<tr>
																		<td></td>
																		<td>组</td>
																		<td style="display: none">
																			<span>*</span>
																			开始时间
																		</td>
																		<td>
																			<span>*</span>
																			医嘱内容
																		</td>
																		<td>
																			<span>*</span>
																			给药途径
																		</td>
																		<td colspan=2>
																			<span>*</span>
																			单次用量
																		</td>
																		<td>
																			<span>*</span>
																			频次
																		</td>
																		<td class='xiyao_thead_yyts'>
																			<span>*</span>
																			用药
																			<span color='red'>天</span>
																			数
																		</td>
																		<td>
																			<span>*</span>
																			总量
																		</td>
																		<td>
																			<span>*</span>
																			单位
																		</td>
																		<td>
																			<span>*</span>
																			给药次数
																		</td>
																		<td>滴速</td>
																		<td>执行科室</td>
																		<td>给药执行</td>
																		<td>用法说明</td>
																		<td>用药目的</td>
																		<td>首次</td>
																		<td>医生嘱托</td>
																		<td>执行方案</td>
																		<td>执行性质</td>
																		<td>医嘱备注</td>
																		<td>开嘱科室</td>
																		<td>开嘱医师</td>
																	</tr>
																</thead>
																<tbody id="west_medicine_tbody">
																</tbody>
															</table>
														</div>
													</div>
													<!-- <div class="last_continer">
														<div class="last-control">
															<div class="main-header-nav">
																<ul class="nav nav-underline">
																	<li class="active">
																		<a href="#long-doctor" data-toggle="tab">历史医嘱</a>
																	</li>
																	<li style="float: right; line-height: 35px;">
																		<button class="btn btn-main hidden" onclick="copyMutAdvice(this)">
																			<span class="glyphicon glyphicon-copyright-mark"></span>
																			<span>批量复制</span>
																		</button>
																		<button class="btn btn-transparent" onclick="seeHistoryAdvice(this)">
																			<span class="glyphicon glyphicon-chevron-up"></span>
																			<span>展开</span>
																		</button>
																	</li>
																</ul>
															</div>
														</div>
														<div class="last-control-table">
															<div class="last-table-container" id="last_container_xy">
																<table id="historyList_xy" class="table-responsive table table-hover table-striped table-bordered"></table>
															</div>
														</div>
													</div> -->
												</div>
											</div>
										</div>
										<!--中成药处方-->
										<div class="tab-pane" id="Zhongyao">
											<div class="button-control">
												<div class="main-content-btnGroup">
													<button class="btn btn-main" id="delete_china_medicine">
														<span class="glyphicon glyphicon-trash"></span>
														<span>删除行</span>
													</button>
													<button class="btn btn-main" onclick="zy_addTrBtnEvent();">
														<span class="glyphicon glyphicon-plus"></span>
														<span>新增行</span>
													</button>
												</div>
											</div>
											<div class="main_continer">
												<div class="main_content">
													<div class="main-content-table" style="top: 0;bottom:0">
														<div class="main-table-container" id="china_medicine">
															<table class="table table-striped table-hover table-border" id="china_medicine_table">
																<thead>
																	<tr>
																		<td rowspan="2"></td>
																		<td rowspan="2" style="display: none">
																			<span>*</span>
																			开始时间
																		</td>
																		<td colspan="4">
																			<span>*</span>
																			医嘱内容
																		</td>
																		<td rowspan="2">
																			<span>*</span>
																			煎法
																		</td>
																		<td rowspan="2">
																			<span>*</span>
																			剂数
																		</td>
																		<td rowspan="2">
																			<span>*</span>
																			中药用法
																		</td>
																		<td rowspan="2">
																			<span>*</span>
																			频次
																		</td>
																		<td rowspan="2">
																			<span>*</span>
																			给药次数
																		</td>
																		<td rowspan="2">执行科室</td>
																		<td rowspan="2">给药执行</td>
																		<td rowspan="2">用法说明</td>
																		<td rowspan="2">用药目的</td>
																		<td rowspan="2">医生嘱托</td>
																		<td rowspan="2">执行方案</td>
																		<td rowspan="2">执行性质</td>
																		<td rowspan="2">医嘱备注</td>
																		<td rowspan="2">开嘱科室</td>
																		<td rowspan="2">开嘱医师</td>
																	</tr>
																	<tr>
																		<td>名称</td>
																		<td>单量</td>
																		<td>单位</td>
																		<td>脚注</td>
																		</td>
																</thead>
																<tbody id="china_medicine_tbody">
																</tbody>
															</table>
														</div>
													</div>
													<!-- <div class="last_continer">
														<div class="last-control">
															<div class="main-header-nav">
																<ul class="nav nav-underline">
																	<li class="active">
																		<a href="#long-doctor" data-toggle="tab">历史医嘱</a>
																	</li>
																	<li style="float: right; line-height: 35px;">
																		<button class="btn btn-main hidden" onclick="copyMutAdvice(this)">
																			<span class="glyphicon glyphicon-copyright-mark"></span>
																			<span>批量复制</span>
																		</button>
																		<button class="btn btn-transparent" onclick="seeHistoryAdvice(this)">
																			<span class="glyphicon glyphicon-chevron-up"></span>
																			<span>展开</span>
																		</button>
																	</li>
																</ul>
															</div>
														</div>
														<div class="last-control-table">
															<div class="last-table-container" id="last_container_zy">
																<table id="historyList_zy" class="table-responsive table table-hover table-striped table-bordered"></table>
															</div>
														</div>
													</div> -->
												</div>
											</div>
										</div>
										<!--手术-->
										<div class="tab-pane " id="Shoushu">
											<div class="button-control">
												<div class="main-content-btnGroup">
													<button class="btn btn-main" id="delete_shoushu">
														<span class="glyphicon glyphicon-trash"></span>
														<span>删除行</span>
													</button>
													<button class="btn btn-main" onclick="ss_addTrBtnEvent();">
														<span class="glyphicon glyphicon-plus"></span>
														<span>新增行</span>
													</button>
												</div>
											</div>
											<div class="main_continer">
												<div class="main_content">
													<div class="main-content-table" style="top: 0;bottom:0">
														<div class="main-table-container" id="shoushu_table">
															<table class="table table-striped table-hover table-border" id="xk_shoushu_table">
																<thead>
																	<tr>
																		<td></td>
																		<td>组</td>
																		<td style="display: none">
																			<span>*</span>
																			开始时间
																		</td>
																		<td>
																			<span>*</span>
																			医嘱内容
																		</td>
																		<td>麻醉方式</td>
																		<td>手术时间</td>
																		<td>执行科室</td>
																		<td>附加手术</td>
																		<td colspan="2">手术人员</td>
																		<td>
																			<span>*</span>
																			频次
																		</td>
																		<td>
																			<span>*</span>
																			总量
																		</td>
																		<td>麻醉执行</td>
																		<td>医生嘱托</td>
																		<td>执行方案</td>
																		<td>执行性质</td>
																		<td>医嘱备注</td>
																		<td>开嘱科室</td>
																		<td>开嘱医师</td>
																	</tr>
																</thead>
															</table>
														</div>
													</div>
													<!-- <div class="last_continer">
														<div class="last-control">
															<div class="main-header-nav">
																<ul class="nav nav-underline">
																	<li class="active">
																		<a href="#long-doctor" data-toggle="tab">历史医嘱</a>
																	</li>
																	<li style="float: right; line-height: 35px;">
																		<button class="btn btn-main hidden" onclick="copyMutAdvice(this)">
																			<span class="glyphicon glyphicon-copyright-mark"></span>
																			<span>批量复制</span>
																		</button>
																		<button class="btn btn-transparent" onclick="seeHistoryAdvice(this)">
																			<span class="glyphicon glyphicon-chevron-up"></span>
																			<span>展开</span>
																		</button>
																	</li>
																</ul>
															</div>
														</div>
														<div class="last-control-table">
															<div class="last-table-container" id="last_container_ss">
																<table id="historyList_ss" class="table-responsive table table-hover table-striped table-bordered"></table>
															</div>
														</div>
													</div> -->
												</div>
											</div>
										</div>
										<!-- 治疗 -->
										<div class="tab-pane " id="Zhiliao">
											<div class="button-control">
												<div class="main-content-btnGroup">
													<button class="btn btn-main" id="delete_zhiliao">
														<span class="glyphicon glyphicon-trash"></span>
														<span>删除行</span>
													</button>
													<button class="btn btn-main" onclick="zl_addTrBtnEvent();">
														<span class="glyphicon glyphicon-plus"></span>
														<span>新增行</span>
													</button>
												</div>
											</div>
											<div class="main_continer">
												<div class="main_content">
													<div class="main-content-table" style="top: 0;bottom:0">
														<div class="main-table-container" id="zhiliao_table">
															<table class="table table-striped table-hover table-border" id="xk_zhiliao_table">
																<thead>
																	<tr>
																		<td></td>
																		<td>组</td>
																		<td style="display: none">开始时间</td>
																		<td>
																			<span>*</span>
																			医嘱内容
																		</td>
																		<td>频次</td>
																		<td>治疗天数</td>
																		<td>
																			<span>*</span>
																			总量
																		</td>
																		<td>
																			<span>*</span>
																			单位
																		</td>
																		<td>执行科室</td>
																		<td>医生嘱托</td>
																		<td>执行方案</td>
																		<td>执行性质</td>
																		<td>医嘱备注</td>
																		<td>开嘱科室</td>
																		<td>开嘱医师</td>
																	</tr>
																</thead>
																<tbody id="zhiliao_table_tbody">
																</tbody>
															</table>
														</div>
													</div>
													<!-- <div class="last_continer">
														<div class="last-control">
															<div class="main-header-nav">
																<ul class="nav nav-underline">
																	<li class="active">
																		<a href="#long-doctor" data-toggle="tab">历史医嘱</a>
																	</li>
																	<li style="float: right; line-height: 35px;">
																		<button class="btn btn-main hidden" onclick="copyMutAdvice(this)">
																			<span class="glyphicon glyphicon-copyright-mark"></span>
																			<span>批量复制</span>
																		</button>
																		<button class="btn btn-transparent" onclick="seeHistoryAdvice(this)">
																			<span class="glyphicon glyphicon-chevron-up"></span>
																			<span>展开</span>
																		</button>
																	</li>
																</ul>
															</div>
														</div>
														<div class="last-control-table">
															<div class="last-table-container" id="last_container_zl">
																<table id="historyList_zl" class="table-responsive table table-hover table-striped table-bordered"></table>
															</div>
														</div>
													</div> -->
												</div>
											</div>
										</div>
									</div>
								</div>
								<div class="slide-control">
									<div class="slide-control-btn"></div>
								</div>
							</div>
							<div class="inline right-container">
								<div class="right-container-content">
									<div class="main-header-nav">
										<ul class="nav nav-underline">
											<li class="active">
												<a href="#long-doctor" data-toggle="tab" onclick="changyongxiangmu(this.id)" id="changyongxiangmu">常用项目</a>
											</li>
											<li>
												<a href="#temporary-doctor" data-toggle="tab" onclick="zhiliaofangan(this.id)" id="zhenliaofangan">治疗方案</a>
											</li>
											<li>
												<a href="#doctor-advice-preview" data-toggle="tab" onclick="zhenduan(this.id)" id="chanyongzhenduan">常用诊断</a>
											</li>
											<li class="hidden">
												<a href="#doctor-advice-preview" data-toggle="tab" onclick="zhongyaocankao(this.id)" id="zhongyaocankao">中药参考</a>
											</li>
										</ul>
									</div>
									<div class="sapce-children-content">
										<div class="tab-content inline  active" id="changyongContent">
										</div>
									</div>
								</div>
							</div>
						</div>
						<div class="main-content-optionBtn ">
							<div class="main-content-btnGroup pull-right ">
								<span>
									<input type="checkbox" value="" id="send_is_print">
									发送时打印医嘱
								</span>
								<button class="btn btn-green" onclick="saveAdvice('send')" id="sendAdvice_btn">
									<span class="glyphicon glyphicon-circle-arrow-right"></span>
									<span>发送医嘱</span>
								</button>
								<button class="btn btn-green " id="saveAdvice_btn" onclick="saveAdvice('')">
									<span class="glyphicon glyphicon-save"></span>
									<span>保存医嘱</span>
								</button>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- 点击下拉框 -->
		<div class="changeTdDiv">
			<nav class="inline">
				<div class="nav">
					<div id="tree"></div>
				</div>
				<div class="close btn"></div>
			</nav>
			<div class="tabDiv inline">
				<div class="search">
					<span>检索</span>
					<div class="input-group">
						<input type="text" class="form-input form-control nodeleteinput" id="search_medicine" />
						<a class="input-group-addon glyphicon glyphicon-search" id='changeBbx1'></a>
						<a class="input-group-addon glyphicon glyphicon-remove" onclick = "closeChangeTdDiv();"></a>
					</div>
				</div>
				<div class="tabCont">
					<table class="table table-striped table-hover" id="tree-table">
					</table>
				</div>
				<div class="pageContent" style="position: absolute; bottom: 10px; right: 10px;">
					<div id="tree_page"></div>
					<div id="search_page">
						<button class="btn btn-main " onclick="adviceSearchEvent(0);">
							<span>首页</span>
						</button>
						<button class="btn btn-white" onclick="adviceSearchEvent(-1);" id="getBack">
							<span>上一页</span>
						</button>
						<button class="btn btn-white" onclick="adviceSearchEvent(1);" id="getNext">
							<span>下一页</span>
						</button>
					</div>
				</div>
			</div>
		</div>
		<!-- 诊断下拉框 -->
		<!-- 诊断下拉框 -->
		<div class="select-container search-select selectDiv" id="neworder_zhenduan" >
             <div class="input-group input-group-sm">
                 <input type="text" class="form-input  nodeleteinput" id="search_jibing" />
                 <div class="input-group-btn" onclick="searchJibingEvent()">
                     <button class="btn btn-grey" type="button" id="search_diag_btn">
                         <span class="glyphicon glyphicon-search"></span>
                     </button>
                 </div>
                 <span class="input-group-btn" onclick = "closeChangeTdDiv_zhenduan();">       
					<button class="btn btn-grey" type="button">        
					<span class="glyphicon glyphicon-remove"></span> 
					</button>
				</span>
             </div>
             <div class="main-header-nav-container">
                 <div class="main-header-nav">
                     <ul class="nav nav-underline" rol="tablist">
                         <li class="active">
                             <a href="#current-diagnose" aria-controls="current-diagnose" role="tab" data-toggle="tab">当前诊断</a>
                         </li>
                         <li>
                             <a href="#history-diagnose" aria-controls="history-diagnose" role="tab" data-toggle="tab">历史诊断</a>
                         </li>
                     </ul>
                 </div>
             </div>
             <div class="tab-content">
                 <div class="tab-pane active" id="current-diagnose">
                     <div class="select-left treeview" id="jibing-tree"></div>
                     <div class="select-right">
                         <div class="main-content-table">
                             <div class="main-table-container">
                                 <table class="table table-noborder table-striped table-hover " id="jibing-tree-table">
                                     
                                 </table>
                             </div>
                         </div>
                     </div>
                 </div>
                 <div class="tab-pane" id="history-diagnose">
                     <div class="main-content-table">
                         <div class="main-table-container" id="xydqzd">
                             
                         </div>
                     </div>
                 </div>
             </div>
         </div>
		
		
		<!--5 遮盖层 -->
		<div id="cover" class="hidden"></div>
		<!-- 遮盖层 -->
	</div>
	<!-- 打印 -->
	<div id="appletDiv"></div>
	<!-- 引入页面 -->
	<%-- <%@ include file="../zhiliaoAdvice.jsp"%> --%>
	<!-- mq -->
	<%--会员刷卡--%>
	<%--会员刷卡结束--%>
	<%--会员发卡开始--%>
	<div id="new_swing_card">
		<div class="modal-body">
			<div class="please-swing-card" id="plase_faKa">
				<span>请刷卡</span>
				<input type="text" id="creditcard" name="creditcard" style="width: 320px !important;">
			</div>
			<div id="error_mess"></div>
		</div>
		<div class="modal-foot">
			<button type="button" class="btn btn-green" onclick="promptFaCard()" id="faka_propnum">输入卡号</button>
			<button type="button" class="btn btn-green">确定</button>
			<button type="button" class="btn btn-white">取消</button>
		</div>
	</div>
	<%--会员发卡结束--%>
	<%-- 交易窗口开始 --%>
	<div class="layer_container" id="member_consumption">
		<div class="body_container" style="bottom: 150px;padding:20px 20px 0 35px;">
			<form class="form-horizontal">
				<div class="row">
					<div class="col-md-6">
						<label class=" control-label">会员卡号</label>
					</div>
					<div class="col-md-6">
						<label class=" control-label">会员积分</label>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6">
						<div class="form-group">
							<input  class="form-control" id="kahao" readonly="readonly" style="width: 150px"  />
						</div>
					</div>
					<div class="col-md-6">
						<div class="form-group">
							<input  class="form-control" id="jifen" readonly="readonly" style="width: 150px"  />
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6">
						<label class="control-label">会员预扣金额</label>
					</div>
					<div class="col-md-6">
						<label class="control-label">余额</label>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6">
						<div class="form-group">
							<input  class="form-control" id="yukou_e" style="width: 150px" readonly="readonly"  />
						</div>
					</div>
					<div class="col-md-6">
						<div class="form-group">
							<input  class="form-control" id="yu_e" readonly="readonly" style="width: 150px"  />
						</div>
					</div>
				</div>
			</form>
		</div>
		<!-- <div class="footer_left_container">
			<div style="height: 100%; position: relative">
				<span>
					<label>请输入密码</label>
					<input type="password" class="form-input" id="vbu09" name="vbu09" />
				</span>
			</div>
		</div> -->
		<div class="footer_container" style="bottom:80px">
		   <div class="row">
		      <div class="col-md-6">
		      	<span>
					<label>请输入密码</label>
				</span>
		      </div>
		      <div class="col-md-6">
		      
		      </div>
		   </div>
		   <div class="row">
		      <div class="col-md-6" style="height:40px;top:7px">
					<input type="password" class="form-input" id="vbu09" name="vbu09" />
		      </div>
		      <div class="col-md-6" >
					<button type="button" class="btn btn-green" id="makesure" onclick="chareCardUpdate()">确认交易</button>
					<button type="button" class="btn btn-white" onclick="removeAction_jiaoyi();">取消</button>
		      
		      </div>
		   </div>
		</div>
	</div>
	<%-- 交易窗口结束 --%>
	<div id="msgDiv" hidden="true"></div>
</body>
</html>
<script type="text/javascript">
	
</script>
